<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>万信管理后台</title>
    <%@ include file="/commons/meta.jsp"%>
    <link href="${ctx}/resources/admin/css/base.css" rel="stylesheet">
      <link type="text/css" href="${ctx}/resources/artDialog/skins/black.css" rel="stylesheet" />
</head>
<body>
<!--  
<div id="loading" class="loading" >加载中…</div>
<div id="shade-div" class="shade-div hide"></div>
-->
<%@ include file="/jsps/admin/inc/header.jsp"%>
<%@ include file="/jsps/admin/inc/menu.jsp"%>
<div id="main">
    <div id="content">
    <div class="hd">
        <span>系统监控配置</span>
        <button class="btn blue-btn fr" id="addJG">添 加</button>
    </div>
    <div class="tab-box">
        <ul>
        
            <li class="cur"><a href="${ctx}/terminalparam/terminalparam1!list.xhtml">终端类型设置</a></li>
            <li><a href="${ctx}/terminalparam/terminalparam!list.xhtml">终端设置</a></li>
          
        </ul>

    </div>
    <table class="table-list">
        <tr>
            <th>终端类型</th>
            <th>参数ID</th>
            <th>参数名称</th>
            <th>参数描述</th>
            <th>操作</th>
        </tr>
        
      <s:iterator value="pager.result" status="i" var="ss">
        <tr>
            <td>
            <s:if test="terminaltype==1">接入模块</s:if>
            <s:elseif test="terminaltype==2">核心模块</s:elseif>
            <s:elseif test="terminaltype==3">接入管理模块</s:elseif>
            </td>
            <td>${paramid}</td>
            <td>${paramname}</td>
            <td>${description}</td>
            <td><a href="javascript:;" class="edit"  title="${id}">修改</a> &nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;" class="del"  title="${id}">删除</a> </td>
        </tr>
       </s:iterator>
    </table>
   <s:if test="pager.totalCount > 0">
			<jsp:include page="/jsps/admin/inc/pager.jsp">
				<jsp:param name="pageUrl" value="${ctx}/log/system_log!list.xhtml" />
			</jsp:include>
		</s:if>
		<s:else>
			<div class="pages" align="center">没有找到任何记录!</div>
		</s:else>


</div>
</div>
<%@ include file="/jsps/admin/inc/footer.jsp"%>
<!--添加警告级别-->
<div class="popbox w500" id="JG" >
    <div class="popbox-hd">
        <h2>添加终端类型</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd">
        <p><label>终端类型：</label>
         <select id="terminaltype">
         <option value="1">接入模块</option>
         <option value="2">核心模块</option>
         <option value="3">接入管理模块</option>
          </select>
        </p>
        <p><label>参数ID：</label><input type="text" class="itext"  id="paramid"></p>
        <p><label>参数名称：</label><input type="text" class="itext"  id="paramname"></p>
        <p><label>参数描述：</label><input type="text" class="itext"  id="description"></p>
    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn" id="btnSvae">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>
<!--警告级别修改-->
<div class="popbox w500" id="editJG" >
    <div class="popbox-hd">
        <h2>警告级别修改</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <input id="UPid"  type="hidden"/>
    <div class="popbox-bd">
         <p><label>终端类型：</label>
         <select id="UPterminaltype">
         <option value="1">接入模块</option>
         <option value="2">核心模块</option>
         <option value="3">接入管理模块</option>
          </select>
        </p>
        <p><label>参数ID：</label><input type="text" class="itext"  id="UPparamid"></p>
        <p><label>参数名称：</label><input type="text" class="itext"  id="UPparamname"></p>
        <p><label>参数描述：</label><input type="text" class="itext"  id="UPdescription"></p>
    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn" id="btnUpdate">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>
<!--警告框-->
<div class="popbox w300" id="warning" >
    <div class="popbox-hd">
        <h2>警告</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
        <input type="hidden"  id="deId"/>
    </div>
    <div class="popbox-bd">
        <p class="center"></p>
    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn" id="btnDelete">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>
<script src="${ctx}/resources/admin/js/lib/jquery-1.8.0.min.js"></script>
<script src="${ctx}/resources/admin/js/common.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery-ui.js"></script>
<script src="${ctx}/resources/admin/js/terminalparam/terminalparam.js"></script>
<script type="text/javascript" src="${ctx}/resources/artDialog/jquery.artDialog.js?skin=blue"></script>
<script type="text/javascript">
$(function(){
	common.menuClicked('P34', 'C35');
});
</script>
</body>
</html>